package com.sys.service;

import com.sys.model.Teacher;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface TeacherService {

    /*查询全部教师信息*/
    List<Teacher> getTeacherList(Map requestparamMap);

    /*根据idcard查询教师信息*/
    Teacher getTeacherByIdcard(int idcard);

    /*查询教师信息*/
    Teacher getTeacherById(int id);

    /*添加教师信息*/
    int insertTeacher(Teacher teacher);

    /*删除教师信息*/
    int delTeacher(int id);

     /*修改教师信息*/
    int upTeacher(Teacher teacher);

    /*查询最后一条教师信息 账号*/
    Teacher getteacherlast();
}
